Skip to content

Nhse o40 or34.uplift#21

Open
martinsumner wants to merge 4 commits intoopenriak-4.0from
nhse-o40-or34.uplift
Open

Nhse o40 or34.uplift#21
martinsumner wants to merge 4 commits intoopenriak-4.0from
nhse-o40-or34.uplift

Conversation

@martinsumner
Copy link

@martinsumner martinsumner commented Feb 12, 2026

Add reviewed changes from OpenRiak 3.4.1

martinsumner and others added 4 commits February 12, 2026 12:53
* Rename any cdb files outside of the manifest

Rename them as *.bak files.  This aligns with the ledger, which does the same thing at startup.

These files are expected when a stop or crash happens during a journal compaction.  In this case, files may be created - but not added to the manifest.  These orphaned files will be in the post_compact folder.

It is less expected for folders in the non-compact area, but can still happen when there is a crash during the delete_pending state.

The garbage is not collected (deleted) - but this just makes it easier for OS admins to clear it, as they don't need erlang functions, *.bak files can be assumed to be garbage.

* Update src/leveled_inker.erl

Co-authored-by: Thomas Arts <thomas.arts@quviq.com>

* Add comment following review

* Format correctly

---------

Co-authored-by: Thomas Arts <thomas.arts@quviq.com>
Return a map of status information about the bookie (when the bookie is not a snapshot).

The content of the status may change in future releases.

---------

Co-authored-by: Andriy Zavada <andriy.zavada@tiot.jp>
Co-authored-by: Martin Sumner <martin.sumner@adaptip.co.uk>
Issue with cdb_checkhashtable/1 being complete immediately.  So add some more keys, so that it won't be.
There should still be a delete timeout if delete_pending occurs during cdb_roll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants